< previous page page_25 next page >

Page 25
such as Visual Basic is to see what new stuff has been added. Although most controls in Visual Basic have stayed pretty much the same, some additions should be mentioned before you get into the nitty-gritty of application building. All these controls are available only in the Professional and Enterprise editions of Visual Basic. In the last section of today's lesson, you'll see how to combine several of these controls with others available in Visual Basic to create more complex interactions with your application's users.
Animation
If you've been using any current version of Windows for any length of time, you're probably familiar with the animations used to inform you of some action being done, such as the delete process shown in Figure 1.11. The Animation control gives you a way to provide the same function within your application. It allows you to display silent .AVI clips, miniature movies shown sequentially to create the animation. These animations run as background tasks to allow your application to keep processing whatever is required.
12181-0025a.gif
Figure 1.11.
An animated display showing a
delete process in progress.
After you add it to your toolbox, you can add the control to the form that will display the animation. Figure 1.12 shows the Animation control in the toolbox.
The Animation control is one of two controls contained in the Windows Common Controls 2 set (MSCOMCT2.OCX).
Note
Starting with Visual Basic 6, the Windows Common Controls will be found in MSCOMCTL.OCX, MSCOMCT2.OCX, and MSCOMCT3.OCX. These files are replacing COMCTL32, COMCT232, and COMCT332.

The other control, UpDown, is discussed in the following section. To use the Animation control, you first need to add it to your toolbox through the Components dialog box.

 
< previous page page_25 next page >

If you like this book, buy it!